package com.example.demo.core.handlerMapping.interfaces;
import com.example.demo.core.handlerMapping.handler.Handler;
import org.dom4j.DocumentException;

import javax.sip.RequestEvent;

public interface HandlerMapping {

    String getMessageType(RequestEvent requestEvent) throws DocumentException;
    Handler getHandler(String messageType);
}